package kn.webstd.g4g.business;

import java.util.List;

import kn.webstd.g4g.commons.dts.BUDts;
import kn.webstd.g4g.commons.dts.HighlightsDts;
import kn.webstd.g4g.commons.dts.StatusDts;
import kn.webstd.g4g.commons.dts.UsersDts;
import kn.webstd.tools.business.IService;
import kn.webstd.tools.business.security.IAuthorizationManager.PermitAll;

@PermitAll
public interface IHighlightsService extends IService {
	public HighlightsDts getHighlights(HighlightsDts highlights);
	public HighlightsDts saveHighlights(HighlightsDts highlights);
	public HighlightsDts updateHighlights(HighlightsDts highlights);
	public List<HighlightsDts> getHighlightsByBU(BUDts bu, StatusDts period);
	public List<HighlightsDts> getHighlightsByUser(UsersDts user, StatusDts period);
	public List<HighlightsDts> getHighlightsByUserNotFinished(UsersDts user, StatusDts period);
	public HighlightsDts terminateHighlightsByUser(UsersDts user);
	public List<HighlightsDts> createNewHighlightsWithChangePeriod(StatusDts periodBefore);
}